// 右侧界面数据
module.exports = {
  'GET /api/rightPageData': {
    browseCategories: {
      data: [45, 70, 70, 10],
      indicator: [
        {
          name: '一建',
          max: 70,
        },
        {
          name: '三箭',
          max: 70,
        },
        {
          name: '四建',
          max: 70,
        },
        {
          name: '安装',
          max: 70,
        },
      ],
      pieData: [
        { value: 95000, name: '三项目' },
        { value: 60000, name: '一项目' },
        { value: 61000, name: '十一项目' },
        { value: 35000, name: '四项目' },
        { value: 40000, name: '六项目' },
        { value: 38000, name: '二项目' },
        { value: 62000, name: '七项目' },
        { value: 35000, name: '九项目' },
        { value: 55000, name: '五项目' },
        { value: 15000, name: '安装消防' },
        { value: 20000, name: '十项目' },
        { value: 20000, name: '八项目' },
        { value: 5000, name: '设备租赁' },
        { value: 4500, name: '绿色建筑' },
        { value: 3000, name: '劳务公司' },
        { value: 1000, name: '中科爱建' },
        { value: 850, name: '物业学院' },
        { value: 260, name: '房地产' },
        { value: 320, name: '工程检测' },
      ].sort((a,b) =>  b.value-a.value),
      barXData: [],
      barSeriesData: []
    },
    userIdentityCategory: {
      data: [
        {
          name: '三项目',
          value: 92000,
        },
        {
          name: '一项目',
          value: 54000,
        },
        {
          name: '十一项目',
          value: 46000,
        },
        {
          name: '四项目',
          value: 35000,
        },
        {
          name: '六项目',
          value: 29000,
        },
        {
          name: '二项目',
          value: 28000,
        },
        {
          name: '七项目',
          value: 26000,
        },
        {
          name: '九项目',
          value: 21000,
        },
        {
          name: '安装与消防',
          value: 12000,
        },
        {
          name: '十项目',
          value: 9000,
        },
        {
          name: '八项目',
          value: 3700,
        },
        {
          name: '设备租赁',
          value: 3300,
        },
        {
          name: '绿色建筑',
          value: 2800,
        },
        {
          name: '劳务公司',
          value: 2200,
        },
        {
          name: '物业学院',
          value: 1500,
        },
        {
          name: '中科爱建',
          value: 990,
        },
        {
          name: '房地产',
          value: 760,
        },
        {
          name: '工程检测',
          value: 265,
        },
        {
          name: '新能源',
          value: 0,
        },
      ],
    },
    offline: {
      feedback: [
        {
          title: '济南一建',
          number: (351942.30/450000 * 100).toFixed(2),
        },
        {
          title: '山东三箭',
          number: (281469.62/700000 * 100).toFixed(2),
        },
        {
          title: '济南四建',
          number: (467063.65/700000 * 100).toFixed(2),
        },
        {
          title: '济南安装',
          number: (102938.95/100000 * 100).toFixed(2),
        },
      ],
      offlinePortalData: {
        data1: [5, 12, 13, 15],
        data2: [13, 7, 25, 25],
        data3: [14, 14, 21, 21],
        data4: [1.6, 1.8, 3.1, 3.5],
        xData: ['一季度', '二季度', '三季度','四季度'],
        barData: [34.72, 28.47, 84.1, 0],
      },
    },
  },
};
